package com.example.universitylibraryback.event;

import java.util.Date;

public class ReaderActivityEvent extends LibraryEvent {
    private String activityId;
    private String activityName;
    private String activityType;
    private Date activityTime;
    private String targetReaders; // ALL, UNDERGRADUATE, etc.
    
    public ReaderActivityEvent(String activityId, String activityName,
                             String activityType, Date activityTime, String targetReaders) {
        super("READER_ACTIVITY");
        this.activityId = activityId;
        this.activityName = activityName;
        this.activityType = activityType;
        this.activityTime = activityTime;
        this.targetReaders = targetReaders;
    }
    
    // getters and setters
    public String getActivityId() {
        return activityId;
    }
    
    public void setActivityId(String activityId) {
        this.activityId = activityId;
    }
    
    public String getActivityName() {
        return activityName;
    }
    
    public void setActivityName(String activityName) {
        this.activityName = activityName;
    }
    
    public String getActivityType() {
        return activityType;
    }
    
    public void setActivityType(String activityType) {
        this.activityType = activityType;
    }
    
    public Date getActivityTime() {
        return activityTime;
    }
    
    public void setActivityTime(Date activityTime) {
        this.activityTime = activityTime;
    }
    
    public String getTargetReaders() {
        return targetReaders;
    }
    
    public void setTargetReaders(String targetReaders) {
        this.targetReaders = targetReaders;
    }
}